<div class="cnt-contato">
    <div class="col1">
        <h1 itemprop="name" class="titulo">Já tenho cadastro</h1>
        <div class="cnt-texto">
            <form id="formlogin" method="post" action="<?php echo $this->urlbase.'/login/login'; ?>">
                <input type="hidden" name="emp_id" id="emp_id" value="<?php echo $this->emp_id; ?>">
                <dt><label>Usuário</label></dt>
                <dd><input type="text" name="l_usuario" id="l_usuario" value="" required=""></dd>
                <dt><label>Senha</label></dt>
                <dd><input type="password" name="l_senha" id="l_senha" value="" ></dd>
                
                <a href="javascript:void(0)"><i>esqueci a senha</i></a> <button name="submit" id="submit" type="submit">Enviar</button>
            </form> 
        </div>
        <?php
            if($this->emp_id > 0){
                $img = glob($this->dir_emp.$this->emp_id.'.*'); 
        ?>
        <img src="<?php echo $this->urlbase.'/'.$img[0]; ?>" style="margin-top: 50px;"/>
        <?php } ?>
    </div>

    <div class="col2">
        <h1 itemprop="name" class="titulo">Não tenho Cadastro</h1>
        <div class="cnt-texto">
            <form id="formcadastro" method="post" action="<?php echo $this->url(array('controller' => 'login', 'action' => 'cadastroescolar')); ?>">
                <input type="hidden" name="emp_id" id="emp_id" value="<?php echo $this->emp_id; ?>">
                <dt><label>Nome do Aluno</label></dt>
                <dd><input type="text" name="aluno" id="aluno" value="" required=""></dd>
                <dt><label>Nome do Responsável</label></dt>
                <dd><input type="text" name="nome" id="nome" value="" required=""></dd>
                <dt><label>CPF</label></dt>
                <dd><input type="text" name="cpf" id="cpf" value="" class="cpf" required=""></dd>
                <dt><label>E-mail</label></dt>
                <dd><input type="text" name="email" id="email" value="" class="email" required=""></dd>
                <dt><label>CEP</label></dt>
                <dd><input type="text" name="cep" id="cep" value="" class="cep" required=""></dd>
                <dt><label>Endereço</label></dt>
                <dd><input type="text" name="endereco" id="endereco" class="res_endereco" value=""></dd>
                <dt><label>Bairro</label></dt>
                <dd><input type="text" name="bairro" id="bairro" class="res_bairro" value=""></dd>
                <dt><label>Cidade</label></dt>
                <dd><input type="text" name="cidade" id="cidade" class="cidade res_cidade" value=""> / <input type="text" name="uf" id="uf" class="uf res_uf" value="" maxlength="2"></dd>
                <dt><label>Telefone</label></dt>
                <dd><input type="text" name="telefone" id="telefone" class="telefone" value=""></dd>
                <dt><label>Usuário</label></dt>
                <dd><input type="text" name="usuario" id="usuario" value="" required=""></dd>
                <dt><label>Senha</label></dt>
                <dd><input type="password" id="senha" name="senha"></dd>
                <dt><label>Repetir Senha</label></dt>
                <dd><input type="password" id="senharep" name="senharep"></dd>

                <button name="submit" id="submit" type="submit">Enviar</button>
            </form>
        </div>
    </div>
</div>